package com.air.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户博客关系表
 *
 * @author shent
 */
@Data
@TableName(value = "air_user_blog")
public class UserBlog {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * user_id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * blog_id
     */
    @TableField(value = "blog_id")
    private Long blogId;
}
